<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Unserializes a WDDX packet</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.wddx-deserialize" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">wddx_deserialize</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">wddx_deserialize</span> &mdash; <span class="dc-title">Unserializes a WDDX packet</span></p>

 </div>
 
 <div id="function.wddx-deserialize-refsynopsisdiv">
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function has been
<em class="emphasis">DEPRECATED</em> as of PHP 7.4.0. Relying on this function
is highly discouraged.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.wddx-deserialize-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>wddx_deserialize</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$packet</code></span>
   ) : <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span></div>

  <p class="para rdfs-comment">
   Unserializes a WDDX <code class="parameter">packet</code>.
  </p>
  <div class="warning"><strong class="warning">Warning</strong>
   <p class="para">
    Do not pass untrusted user input to <span class="function"><strong>wddx_deserialize()</strong></span>.
    Unserialization can result in code being loaded and executed due to object
    instantiation and autoloading, and a malicious user may be able to exploit
    this. Use a safe, standard data interchange format such as JSON (via
    <span class="function"><a href="json_decode.html" class="function">json_decode()</a></span> and <span class="function"><a href="json_encode.html" class="function">json_encode()</a></span>) if
    you need to pass serialized data to the user.
   </p>
  </div>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.wddx-deserialize-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">packet</code></dt>

     <dd>

      <p class="para">
       A WDDX packet, as a string or stream.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.wddx-deserialize-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the deserialized value which can be a string, a number or an
   array. Note that structures are deserialized into associative arrays.
  </p>
 </div>


</div></div></div></body></html>